package models

import "gorm.io/gorm"

type Message struct {
	gorm.Model
	FormUserId int    `gorm:"type:int(20);not null;comment:'发送用户id'"`
	ToUserId   int    `gorm:"type:int(20);not null;comment:'接收用户Id'"`
	RoomId     int    `gorm:"type:int(20);not null;"`
	Context    string `gorm:"type:varchar(256);not null;comment:'内容'"`
}
